#!/bin/sh

#
# DilOS
#
# Start method of fmd
#

LOGDIR=/var/fm/fmd
if [ ! -d  ${LOGDIR} ]; then
	mkdir -p -m 755 ${LOGDIR}/ckpt ${LOGDIR}/rsrc ${LOGDIR}/xprt
	chown -R root:sys `dirname ${LOGDIR}`
fi

exec /usr/lib/fm/fmd/fmd
